exports.LectureDetail_Comment = function(_args) {
	

	
	var view = Ti.UI.createView({
		
		height:'auto'	,
		width:'100%',//_args.widthview,
		left:0,
		top:_args.topview,
		backgroundColor:'transparent',
		touchEnabled:true,
	});
	

	
    var viewheader = Ti.UI.createView({
    	backgroundImage: _args.backgroundImage_viewheader,
	   // backgroundColo:'#e6e6e6',
	    left: 0,
	    top: 0,
	    height:_args.height_viewheader,
	    width: '100%',//_args.width_viewheader,
	    touchEnabled: true,
	  
	});

	

	var lb1 = Titanium.UI.createLabel({
       text:_args.infolabel,
       color:'white',
       left:15,
       font:{
			fontSize:Ti.App.Properties.getString('fontsizeDefault'),
			fontWeight:'bold'
		},
    });
    viewheader.add(lb1)
	view.add(viewheader);
	
	
	var tbv=Ti.UI.createTableView({
 			height:'auto',
			width:'100%',
			top:viewheader.height,
			backgroundColor:'transparent',
			touchEnabled:true,
			
			//data:_args.data,
 	})
	view.add(tbv);
	
	/////////////////////////LOADING///////////
  	if(_args.datajson.length>0)
  	{
  		//alert(_args.datajson.length)
  		var datatb=[]
  		var row = null;
  		for (i = 0; i < _args.datajson.length; i++) {
		   row = Ti.UI.createTableViewRow({
				height:90,//'auto',
				ID:_args.datajson[i].ID,
				LectureID: _args.datajson[i].LectureID,
				UserID: _args.datajson[i].UserID,
				Email: _args.datajson[i].Email,
				Comment: _args.datajson[i].Comment,
				borderColor:'Red',
		   });
		   
		    var fullname = Ti.UI.createLabel({
				text:_args.datajson[i].FullName,
				font:{
					fontSize:Ti.App.Properties.getString('fontsizeDefault'),
					fontWeight:'bold'
				},
				height:'auto',
				left:15,
				top:5,
				right: 15,
				touchEnabled:true,
				color:'#1b3e60'
				
			});
			
			 var PostDate = Ti.UI.createLabel({
				text:require('utils').parseJsonDate(_args.datajson[i].PostDate),
				font:{
					fontSize:Ti.App.Properties.getString('fontsizeDefault'),
					fontWeight:'bold'
				},
				height:'auto',
				top:5,
				right: 15,
				
				touchEnabled:true,
				color:'#1b3e60'
				
			});
		   var comment = Ti.UI.createLabel({
				text:_args.datajson[i].Comment,
				font:{
					fontSize:Ti.App.Properties.getString('fontsizeDefault'),
					//fontWeight:'bold'
				},
				height:'auto',
				left:15,
				top:25,
				right: 15,
				color:'Black',
				touchEnabled:true,
			
				
			});
			row.add(fullname);
			row.add(PostDate);
			row.add(comment);
			
		
			datatb.push(row);
		}
	
		tbv.setData(datatb)
  	}
  	
  	
  	
	return view;
};